package com.bwie.controller;

import com.bwie.service.TbLogService;
import com.bwie.utils.R;
import com.bwie.vo.LogPageVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user/log")
public class LogController {

    @Autowired
    TbLogService tbLogService;

    @PostMapping("/getLogList")
    public R getLogList(@RequestBody LogPageVo logPageVo){

        return tbLogService.getLogList(logPageVo);
    }
}
